const env = process.env.NODE_ENV

let MYSQL_CONF // 配置

if (env === 'dev') {
  MYSQL_CONF = {
    host: 'localhost',
    user: 'root',
    password: 'wxy613ok',
    port: 3306,
    database: 'myblog',
  }
} else if (env === 'production') {
  MYSQL_CONF = {
    host: 'localhost',
    user: 'root',
    password: 'wxy613ok',
    port: 3306,
    database: 'myblog',
  }
}

module.exports = {
  MYSQL_CONF,
}